package com.lifesting.front;

import javax.faces.component.UIComponent;
import javax.faces.event.FacesEvent;
import javax.faces.event.FacesListener;

public class DeleteEvent extends FacesEvent {

	private static final long serialVersionUID = -7139099217356766583L;

	public DeleteEvent(UIComponent component) {
		super(component);
	}

	public static final String[] EMPTY_IDS = new String[0];
	private String[] ids; //选中要删除的ID
	

	

	public String[] getIds() {
		return ids;
	}

	public void setIds(String[] ids) {
		this.ids = ids;
	}

	@Override
	public boolean isAppropriateListener(FacesListener listener) {
		return (listener instanceof Table.DeleteListener);
	}

	@Override
	public void processListener(FacesListener listener) {
		
	}

}
